package cn.jsj.cxsys.pojo;

public class User
{
    int userID;
    String teleNumber;
    String name;
    String className;
    String account;
    String password;

    public User() {
        this.userID = 0;
        this.teleNumber = null;
        this.name = null;
        this.className = null;
        this.account = null;
        this.password = "";
    }

    @Override
    public String toString() {
        return "User{userID=" + this.userID + ", teleNumber='" + this.teleNumber + '\'' + ", name='" + this.name + '\'' + ", className='" + this.className + '\'' + ", account='" + this.account + '\'' + ", password='" + this.password + '\'' + '}';
    }

    public int getUserID() {
        return this.userID;
    }

    public void setUserID(final int userID) {
        this.userID = userID;
    }

    public String getTeleNumber() {
        return this.teleNumber;
    }

    public void setTeleNumber(final String teleNumber) {
        this.teleNumber = teleNumber;
    }

    public String getName() {
        return this.name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getClassName() {
        return this.className;
    }

    public void setClassName(final String className) {
        this.className = className;
    }

    public String getAccount() {
        return this.account;
    }

    public void setAccount(final String account) {
        this.account = account;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(final String password) {
        this.password = password;
    }

    public User(final int userID, final String teleNumber, final String name, final String className, final String account, final String password) {
        this.userID = 0;
        this.teleNumber = null;
        this.name = null;
        this.className = null;
        this.account = null;
        this.password = "";
        this.userID = userID;
        this.teleNumber = teleNumber;
        this.name = name;
        this.className = className;
        this.account = account;
        this.password = password;
    }

    public User(final String teleNumber, final String name, final String className, final String account, final String password) {
        this.userID = 0;
        this.teleNumber = null;
        this.name = null;
        this.className = null;
        this.account = null;
        this.password = "";
        this.teleNumber = teleNumber;
        this.name = name;
        this.className = className;
        this.account = account;
        this.password = password;
    }
}
